﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DodadiGrad.aspx.cs" Inherits="dodadi" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width=100% height=300 border="0"><tr width=100%><td width=100% align=left> 
        <br />
        <asp:Label ID="LabelVnesiIdGrad" runat="server" Text="ID Град:" Width=100 style="text-align:left"></asp:Label><asp:TextBox ID="TextBoxIdGrad" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
            ControlToValidate="TextBoxIdGrad" runat="server" ErrorMessage="Внеси ID град!" ValidationGroup="vg1"></asp:RequiredFieldValidator>
        <br />
        <asp:Label ID="LabelVnesiImeGrad" runat="server" Text="Име на град:" Width=100 style="text-align:left"></asp:Label><asp:TextBox ID="TextBoxImeGrad" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
            ControlToValidate="TextBoxImeGrad" runat="server" ErrorMessage="Внеси име на град!" ValidationGroup="vg1"></asp:RequiredFieldValidator>
        <br />
        <asp:Label ID="LabelVnesiTaksaGrad" runat="server" Text="Такса за град:" Width=100 style="text-align:left"></asp:Label><asp:TextBox ID="TextBoxTaksaGrad" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
            ControlToValidate="TextBoxTaksaGrad" runat="server" ErrorMessage="Внеси такса за град!" ValidationGroup="vg1"></asp:RequiredFieldValidator>
        <br />


        <asp:Button ID="ButtonDodajGrad" Width=200 runat="server" Text="Додај Град" onclick="ButtonDodajGrad_Click" ValidationGroup="vg1" />
             
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/Baza/Gradovi.accdb" 
             
            SelectCommand="SELECT * FROM [Gradovi]">
        </asp:AccessDataSource>

        <asp:Button ID="Button1" runat="server" Text="Назад кон менито" 
            onclick="Button1_Click" />
       

    </td></tr></table>
    </div>
    </form>
</body>
</html>